package beast.evolution.tree;

import test.beast.BEASTTestCase;
import beast.util.TreeParser;

public class testTree3 extends BEASTTestCase {

	public void testShowSeq() throws Exception {
		String newick = "((human: 0.07, chimp: 0.07): 0.43, gorilla: 0.5, ((orangutan: 0.2, siamang: 0.2):0.2, bonobo: 0.4): 0.1)";
		TreeParser treeParser = new TreeParser();
		treeParser.m_oNewick.setValue(newick, treeParser);
		treeParser.m_oData.setValue(getAlignment(), treeParser);
		treeParser.initAndValidate();
		System.out.println("the root's ID is:" + treeParser.getRoot().getHeight());
	}
}